﻿using System;
using System.Collections.Generic;
using System.Xml;
using System.Xml.Serialization;

namespace openSourceC.DaylifeClient
{
	/// <summary>
	///		Summary description for Payload.
	/// </summary>
	[Serializable]
	[XmlType("payload")]
	public class Payload
	{
		/// <summary></summary>
		[XmlElement("article")]
		public List<Article> Articles { get; set; }

		/// <summary></summary>
		[XmlElement("count")]
		public int? Count { get; set; }

		/// <summary></summary>
		[XmlElement("daily_counts")]
		public List<DailyCounts> DailyCounts { get; set; }

		/// <summary></summary>
		[XmlElement("image")]
		public List<Image> Images { get; set; }

		/// <summary>Gets or sets the payload collection.</summary>
		[XmlElement("response")]
		public Response Response { get; set; }

		/// <summary></summary>
		[XmlElement("quote")]
		public List<Quote> Quotes { get; set; }

		/// <summary></summary>
		[XmlElement("source")]
		public List<Source> Sources { get; set; }

		/// <summary></summary>
		[XmlElement("story")]
		public List<Story> Stories { get; set; }

		/// <summary></summary>
		[XmlElement("topic")]
		public List<Topic> Topics { get; set; }

		/// <summary></summary>
		[XmlElement("video")]
		public List<Video> Videos { get; set; }


		/// <summary>Gets or sets the array of all the out-of-band elements.</summary>
		[XmlAnyElement]
		public XmlElement[] ZElements { get; set; }
	}
}
